package com.webservice.xmloper.managercode;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

@XStreamAlias("idcCommand")
public class ManagerCode {
	private String commandFileId;
	@XStreamImplicit
	private List<Command> commands =new ArrayList<Command>();
	private String timeStamp;
	
	public void addCommand(Command command){
		this.commands.add(command);
	}
	
	public String getCommandFileId() {
		return commandFileId;
	}
	public void setCommandFileId(String commandFileId) {
		this.commandFileId = commandFileId;
	}
	public List<Command> getCommands() {
		return commands;
	}
	public void setCommands(List<Command> commands) {
		this.commands = commands;
	}
	public String getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}
}
